package com.spic.business.alarm.config;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 测点
 */
public class Device {
    private String id;

    @JSONField(ordinal = 2)
    private String number;

    @JSONField(ordinal = 3)
    private String subNumber;

    @JSONField(ordinal = 4)
    private String areaName;

    public void setId(String id) {
        this.id = id;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public void setSubNumber(String subNumber) {
        this.subNumber = subNumber;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }



    public String toString() {
        return "Device(id=" + getId() + ", number=" + getNumber() + ", subNumber=" + getSubNumber() + ", areaName=" + getAreaName() + ")";
    }

    public String getId() {
        return this.id;
    }

    public String getNumber() {
        return this.number;
    }

    public String getSubNumber() {
        return this.subNumber;
    }

    public String getAreaName() {
        return this.areaName;
    }
}

